//大数加法入门练习修改版
//   1 2 3 4
//+    1 2 3
//----------
//   1 3 5 7
#include <stdio.h>
#define N 10
int main()
{
     int a[N]={1,0,0,0,0,0,1,2,3,4};
     int b[N]={4,0,0,0,0,0,0,1,2,3};
     int c[N]={0,0,0,0,0,0,0,0,0,0};
     for(int i=N-1;i>=0;i--)
     {
     	c[i]=a[i]+b[i];	
	 }
	 for(int j=0;j<=9;j++)
	 {
 		printf("%d,",c[j]);
 	 }
}